import { defineStore } from "pinia";
// import { UserState } from "@/stores/interface";
// import piniaPersistConfig from "@/stores/helper/persist";

export const useGoodsStore = defineStore({
  id: "geeker-goods",
  state: () => ({
    mobileEditGoodsInfo: {
      id: null,
      fileId: null,
      labId: null,
      labAddress: "", //
      code: "", //
      name: "", //
      specificDesc: "", //
      cas: "",
      dangerRemark: "",
      manufacturer: "",
      measure: "",
      categoryId: null,
      categoryName: "",
      quantity: "", //
      threshold: "",
      price: "",
      subjectName: "",
      projectName: ""
    }
  }),
  getters: {},
  actions: {}
  // persist: piniaPersistConfig("geeker-goods")
});
